home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / comm / term / term_doc.lha / Documentation / XEM_Libs / VT340.keys&cmds < prev    next >
Text File  |  1993-06-06  |  16KB  |  336 lines

  1.  
  2.        External DEC VT-340 emulator used by LR-Comm and clones..(-:
  3.  
  4.  
  5.  
  6.     VT340 Keys          Amiga Keys
  7.     ----------          ----------
  8.  
  9.       Arrow keys          Arrow keys
  10.     
  11.       PF1                 Numpad [ on Amiga 500/2000
  12.       PF2                 Numpad ] on Amiga 500/2000
  13.       PF3                 Numpad / on Amiga 500/2000
  14.       PF4                 Numpad * on Amiga 500/2000
  15.  
  16.       F1 (Hold Screen)             F1
  17.       F2 (Print Screen)            F2
  18.  CTRL F2 (Auto Print)         CTRL F2
  19.   ALT F2 (Print Controlled)    ALT F2
  20.       F3 (Set Up)                  F3
  21.       F4 (Data/Talk)               F4
  22.       F5 (Send Break)              F5
  23.  CTRL F5 (Send Answer)        CTRL F5
  24. SHIFT F5 (Disconnect)        SHIFT F5
  25.  
  26.             /****************** Amiga only ******************/
  27.  
  28.       not available                F8  mark edge - linear mode.
  29.       not available            ALT F8  mark edge - columnar mode.
  30.       not available          SHIFT F8  mark single word.
  31.       not available                F9  copy marked area to clipboard.
  32.       not available          SHIFT F9  copy marked area to clip and
  33.                                        feed the contents immediately
  34.                                        into the terminal input-stream.
  35.       not available               F10  paste the clipboars contents,
  36.                                        ie feed the contents into
  37.                                        the terminal input-stream.
  38.                             (the user can select the clipboard-unit in
  39.                              the Set-Up Window. The unit is preset to 0.)
  40.  
  41.             /****************** Amiga only ******************/
  42.  
  43.  
  44.       F6 - F20            F6 - F20 on all Amigas
  45.     
  46.       HELP                Help on all Amigas
  47.       DO                  Shifted-Help on all Amigas
  48.  
  49.       FIND                Shifted-Numpad 7 on all Amigas
  50.       INSERT              Shifted-Numpad 8 on all Amigas
  51.       REMOVE              Shifted-Numpad 9 on all Amigas
  52.       SELECT              Shifted-Numpad 4 on all Amigas
  53.       PREV SCREEN         Shifted-Numpad 5 on all Amigas
  54.       NEXT SCREEN         Shifted-Numpad 6 on all Amigas
  55.  => Shifted-Numpad 1 - 3 are trapped (on all Amigas..:-) <=
  56.  
  57.  
  58.  
  59.  
  60. Control codes in C0 (no high bit) area
  61. --------------------------------------
  62. unsupported features are marked by an asterisk (*):
  63. ignored features are marked by an exclamation-mark (!):
  64.  
  65.    name     hex   key   operation
  66.    ENQ      05    ^E    Send answerback message
  67.    BEL      07    ^G    Audial or visual beep
  68.    BS       08    ^H    Backspace, move cursor left one character
  69.    HT       09    ^I    Horizontal tab, move cursor to next tabstop
  70.    LF       0a    ^J    Linefeed, move cursor down one line
  71.    VT       0b    ^K    Vertical Tab, treated as a line feed
  72.    FF          0c    ^L    Formfeed, treated as a line feed
  73.    CR       0d    ^M    Carriage return, move cursor to col 1
  74.    SO/LS1   0e    ^N    Map character set in G1 to GL, locking shift
  75.    SI/LS0   0f    ^O    Map character set in G0 to GL, locking shift
  76. !  DC1      11    ^Q    XON flow control, resume communication
  77. !  DC3      13    ^S    XOFF flow control, suspend communication
  78.    CAN      18    ^X    Cancel escape & control sequence in progress
  79.    SUB      1a    ^Z    Treated as a CAN
  80.    ESC      1b    ^[    Escape, start escape seq, cancel any others
  81.  All others are ignored
  82.  
  83.  
  84. Control codes in C1 (high bit set) area.
  85. ----------------------------------------
  86.  These are replaced by ESC <code - 40h> in a 7-bit environment, or when
  87.  Controls is set to 7-bit output.
  88. unsupported features are marked by an asterisk (*):
  89. ignored features are marked by an exclamation-mark (!):
  90.  
  91.    name  8-bit 7-bit    operation
  92.    IND   84    ESC D    Index, move cursor down one line, scrolls
  93.    NEL   85    ESC E    Next line, like CR/LF, scrolls
  94.    HTS   88    ESC H    Set Horizontal Tab at cursor's column
  95.    RI    8d    ESC M    Reverse index, move cursor up one line,scrolls
  96.    SS2   8e    ESC N    Map G2 to GL for next char only, single shift
  97.    SS3   8f    ESC O    Map G3 to GL for next char only, single shift
  98.    DCS   90    ESC P    Device Control String introducer
  99.                         consume through ST CAN SUB ESC
  100.    CSI   9b    ESC [    Control Sequence Introducer
  101.    ST    9c    ESC \    String Terminator
  102.    OSC    9d    ESC ]    Operating System Command, consume through ST
  103.    PM    9e    ESC ^    Privacy Message, consume through ST
  104.    APC   9f    ESC _    Applications Prog Command, consume through ST
  105. All others are ignored
  106.  
  107.  
  108. 7-Bit escape sequences:
  109. -----------------------
  110. unsupported features are marked by an asterisk (*):
  111.  
  112.    ESC-Seq  Mnemonic    Description of Action
  113.  
  114. *  ESC ^L                     Enter Tektronix sub-mode, clear Tek screen.
  115.    ESC 7          DECSC       Save cursor position, attributes, contents of
  116.                                   char sets used as GL and GR, wrap flag,
  117.                                   origin mode (DECOM), SS2/SS2 shifts.
  118.    ESC 8          DECRC       Restore cursor from previously saved position
  119.                               and information listed for DECSC
  120.    ESC # 3        DECDHL      Double height and width line, top half
  121.    ESC # 4        DECDHL      Double height and width line, bottom half
  122.    ESC # 5        DECSWL      Single height and width line
  123.    ESC # 6        DECDWL      Double width single height line
  124.    ESC # 8        DECALN      Screen alignment test, fill screen with E's
  125.    ESC ( <ident>    SCS         Designates 94 byte character set <ident> to G0
  126.    ESC ) <ident>    SCS         Designates 94 byte character set <ident> to G1
  127.    ESC * <ident>  SCS         Designates 94 byte character set <ident> to G2
  128.    ESC + <ident>  SCS         Designates 94 byte character set <ident> to G3
  129. *  ESC - <ident>    SCS         Designates 96 byte character set <ident> to G1
  130. *  ESC . <ident>    SCS         Designates 96 byte character set <ident> to G2
  131. *  ESC / <ident>  SCS         Designates 96 byte character set <ident> to G3
  132.          <ident>    size    character set
  133.             A        96    ISO Latin-1 (default in G2, G3)
  134.             B        94    ASCII (default in G0, G1)
  135.             0        94    DEC Special Graphics (line drawing)
  136. *           1        94/96 Kermit, ALT-ROM
  137.             2        94    DEC Special Graphics (line drawing)
  138.             %5       94    DEC Supplemental Graphics
  139.             <        94/96 User Preferred Supplemental Set
  140.             >        94    DEC Technical set (from VT340's)
  141.  
  142.    ESC <                      Exit VT52 mode (to previous ANSI kind/VT320)
  143.    ESC =          DECKPAM        Enter numeric keypad application mode
  144.    ESC >          DECKNPNM    Enter numeric keypad numeric mode
  145.    ESC D          IND         Index, moves cursor down one line, can scroll
  146.    ESC E          NEL         Move cursor to start of line below, can scroll
  147.    ESC sp F       S7C1T       Disable output of 8-bit controls, use 7-bit
  148.    ESC sp G       S8C1T       Enable output of 8-bit control codes
  149.    ESC H          HTS         Set one horizontal tab at current position
  150.    ESC M          RI          Reverse Index, cursor up one line, can scroll
  151.    ESC N          SS2         Single Shift 2, map G2 to GL for next char only
  152.    ESC O          SS3         Single Shift 3, map G3 to GL for next char only
  153.    ESC P          DCS         Start Device Control String command (see below)
  154.    ESC Z          DECID       Identify terminal.
  155.                               Response: CSI ? 63; 1; 2; 8; 9 c
  156.    ESC \          ST          String Terminator of Device Control Strings
  157.    ESC ]          OSC         Operating System Command, ignored through ST
  158.    ESC ^          PM          Privacy Message, ignored through ST
  159.    ESC _          APC         Applications Program Command, ignored thru ST
  160.    ESC c          RIS         Reset terminal to initial state, hard reset
  161.    ESC n          LS2         Map character set in G2 to GL, locking shift
  162.    ESC o          LS3         Map character set in G3 to GL, locking shift
  163.    ESC |          LS3R        Map character set in G3 to GR, locking shift
  164.    ESC }          LS2R        Map character set in G2 to GR, locking shift
  165.    ESC ~          LS1R        Map character set in G1 to GR, locking shift
  166.    ESC [          CSI         Control Sequence Introducer, see list below
  167.  
  168.  
  169. Control Sequences:
  170. ------------------
  171. unsupported features are marked by an asterisk (*):
  172. ignored features are marked by an exclamation-mark (!):
  173.  
  174.    CSI-Seq        Mnemonic    Description of Action
  175.  
  176.    CSI Pn @       ICH         Insert Pn spaces at and after cursor
  177.    CSI Pn A       CUU         Cursor up Pn lines, does not scroll
  178.    CSI Pn B       CUD         Cursor down Pn lines, does not scroll
  179.    CSI Pn C       CUF         Cursor forward, stays on same line
  180.    CSI Pn D       CUB         Cursor backward, stays on same line
  181.    CSI Pn E       CNL         Next-line (same as cr/lf), do Pn times
  182.    CSI Pn F       CPL         Previous-line (reverse index), do Pn times
  183.    CSI Pr; Pc H   CUP         Set cursor to row, column
  184.    CSI Ps J       ED          Erase in display:
  185.                               0 = cursor to end of screen, inclusive
  186.                               1 = start of screen to cursor, inclusive
  187.                               2 = entire screen, reset lines to single
  188.                                   width, cursor does not move.
  189.    CSI ? Ps J     DECSED      Selective erase in display:
  190.                               0 = cursor to end of screen, inclusive
  191.                               1 = start of screen to cursor, inclusive
  192.                               2 = entire screen, cursor does not move.
  193.    CSI Ps K       EL          Erase in line:
  194.                               0 = cursor to end of line, inclusive
  195.                               1 = start of line to cursor, inclusive
  196.                               2 = entire line, cursor does not move
  197.    CSI ? Ps K     DECSEL      Selective erase in line:
  198.                               0 = cursor to end of line, inclusive
  199.                               1 = start of line to cursor, inclusive
  200.                               2 = entire line, cursor does not move
  201.    CSI Pn L       IL          Insert Pn lines preceding current line.
  202.    CSI Pn M       DL          Delete Pn lines from current downward, incl.
  203.    CSI Pn P       DCH         Delete Pn chars from cursor to left, incl.
  204.    CSI Pn; Pn R   CPR         Cursor report (row, column), sent by terminal
  205.                               Example: home position yields CSI 1; 1 R
  206.    CSI Pn X       ECH         Erase Pn chars at and to right of cursor
  207.    CSI Pn c       DA          Device Attributes request, see reports
  208.    CSI > Pn c     DA          Secondary Device Attributes req, see reports
  209.    CSI Pr; Pc f   HVP         Set cursor to row, column
  210.    CSI Ps g       TBC         Tabs clear, Ps: 0 = at this position, 3 = all
  211.    CSI Pa;...Pa h SM          Set ANSI mode, see table below
  212.    CSI Pa;...Pa l RM          Reset ANSI mode, see table below
  213.       Pa    Mnemonic    Mode           Set (h)        Reset (l)
  214. *     2     KAM          Keyboard       locked      unlocked
  215. *     3     CRM         Control rep     act upon    debug display
  216.       4     IRM         Insert         insert      replace
  217. *     10    HEM         Horz editing   n/a         always reset
  218. *     12    SRM         Local echo     off         on
  219.       20    LNM            New Line       lf=>cr/lf   cr=>cr
  220.  
  221.    CSI ? Ps;Ps h  SM          Set DEC mode, see table below
  222.    CSI ? Ps;Ps l  RM          Reset DEC mode, see table below
  223.       Ps    Mnemonic    Mode           Set (h)     Reset (l)
  224.       0                 ignored
  225.       1     DECCKM      cursor keys    application    cursor/numeric
  226.       2     DECANM      ANSI           VT320/VT102    VT52
  227. *     3     DECCOLM     Columns        132 col        80 col
  228.       4     DECSCLM     Scrolling      smooth         jump
  229. *     5     DECSCNM     Screen         reverse video  normal
  230.       6     DECOM       Origin         use margins    ignore margins
  231.       7     DECAWM      Autowrap       on             off
  232. *     8     DECARM      Autorepeat     on             off
  233. *     9     DECINLM     Interlace      on             off
  234.       18    DECPFF      Printer term   Form Feed      none
  235.       19    DECPEX      Printer extent screen         scrolling region
  236.       25    DECTCEM     Cursor         visible        invisible
  237. *     34    n/a         Invoke macro:  TERMINALS      TERMINALR
  238. *     38    n/a         Graphics (Tek) graphics       text
  239. *     42    DECNRCM     Nat Repl Char  enable         disable
  240.       66    DECNKM      Numeric keypad application    numeric
  241. *     68    DECKBUM     Typewriter     data process   typewriter
  242.  
  243.    CSI Ps;Ps m    SGR         Select graphic rendition
  244.          Ps
  245.          0  all attributes off (#'s 1, 4, 5, 7)
  246.          1  bold, intensify foreground
  247.          4  underscore
  248. *        5  blink
  249.          7  reverse video, per character
  250.          22    bold off
  251.          24    underline off
  252. *        25    blinking off
  253.          27    reverse video off
  254. when in color-mode:
  255.          30-37 = foreground color = 30 + colors
  256.          40-47 = background color = 40 + colors
  257.  
  258.    CSI Ps n       DSR         Device Status request, see reports
  259.    CSI ! p        DECSTR      Reset of terminal
  260.    CSI Pa $ p     DECRQM      Report ANSI mode settings, see reports
  261.    CSI ? Pd $ p   DECRQM      Report DEC mode settings, see reports
  262.    CSI Pl; Pc " p DECSCL        Set conformance level (set terminal type)
  263.        Pl    Pc    level selected
  264.       62    0 or 2    VT320, 8-bit controls (62 is otherwise VT200 level)
  265.       62    1        VT320, 7-bit controls
  266.       63    0 or 2     VT320, 8-bit controls (63 is otherwise VT300 level)
  267.       63    1        VT320, 7-bit controls
  268.     
  269.    CSI Ps;Ps q    DECLL       Load LEDs, Ps = 0 means clear LED #1-4. VT102
  270.    CSI Ps " q     DECSCA      Select Character Protection Attribute
  271.                               Ps = 0 erasable by DECSED or DECSEL
  272.                               Ps = 1 not erasable by these cmds.
  273.    CSI Pt; Pb r   DECSTBM     Set top and bottom scrolling margins, resp.
  274.                               CSI r resets margin to full screen.
  275.    CSI Ps $ u     DECRQTSR    Terminal State request, see reports
  276.    CSI & u        DECRQUPSS   User Preferred char set request, see reports
  277.    CSI Ps $ w     DECRQPSR    Presentation State request, see reports
  278. *  CSI sol x      DECREQTPARM Request terminal parameters, see reports
  279. *  CSI 4; Ps;Ps y DECTST      VT320 Confidence tests, exits status line
  280.    CSI Ps $ }     DECSASD        Select active status display
  281.    CSI Ps $ ~     DECSSDT     Select Status Line Type
  282.  
  283.  
  284.  
  285. VT320 Report requests and responses
  286. -----------------------------------
  287. unsupported features are marked by an asterisk (*):
  288. ignored features are marked by an exclamation-mark (!):
  289.  
  290.    Request    CSI c           primary device attributes (terminal ident)
  291.    Response   CSI ? 62; 1; 2; 6; 7; 8; 9 c
  292.  
  293.    Request    CSI > c         secondary device attributes
  294.    Response   CSI > 24; 1; 10; 0 c
  295.  
  296.    Request    CSI 5 n           operating status
  297.    Response   CSI 0 n         no malfunction
  298.  
  299.    Request    CSI 6 n         cursor position report
  300.    Response   CSI Pr; Pc R    Pr = row, Pc = column.
  301.  
  302.    Request    CSI ? 15 n      printer status
  303.    Response   CSI ? 11 n      printer is not ready
  304.  
  305.    Request    CSI ? 25 n      User Definable Key status
  306.    Response   CSI ? 21 n      UDKs are locked
  307.  
  308.    Request    CSI ? 26 n      keyboard dialect
  309.    Response   CSI ? 27; 0 n
  310.  
  311.    Request    CSI 1 $ u       terminal state
  312.  
  313. *  Request  DCS Ps $ p str ST terminal restore state
  314.  
  315.    Request  CSI & u           what is the User Preferred Supplemental Set
  316.    Response DCS 1 ! u A ST    ISO Latin-1
  317.    Response DCS 0 ! u %5 ST   DEC Supplemental Graphics
  318.  
  319.    Request  CSI 1 $ w         cursor information report
  320.  
  321.    Request  CSI 2 $ w         tab stop report
  322.  
  323. *  Request DSC Ps $ t str ST  restore presentation state
  324.  
  325.    Request  CSI Pa $ p           ask state of ANSI mode controls
  326.    Response CSI Pa; Ps $ y       pa = mode  ps 0; 1; 2  (ukn; set; reset)
  327.  
  328.    Request  CSI ? Pd $ p         state of DEC modes
  329.    Response CSI ? Pd; Ps $ y     pd = mode  ps 0; 1; 2  (ukn; set; reset)
  330.  
  331. *  Request  DCS $ q str ST       control function setting
  332.  
  333. *  Request  DCS Ps ! u str ST    assign User Preferred Supplemnental Set
  334.  
  335. *  Request  DCS Ps; Ps { str ST  download or clear soft characters
  336.